package com.kzj.service;

import com.kzj.common.result.Result;
import com.kzj.pojo.dto.ChangePasswordDto;
import com.kzj.pojo.dto.LoginDto;
import com.kzj.pojo.dto.TeacherUpdateDto;

import javax.servlet.http.HttpSession;

public interface TeacherService {
    public Result login(LoginDto dto,HttpSession session);
    public Result getInfo(HttpSession session);

    public Result getAll();

    public Result upate(TeacherUpdateDto dto);

    Result changePassword(ChangePasswordDto dto,HttpSession session);
}
